<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
    <h1>首页</h1>
    <a th:href="@{/hello/testRequestMapping}">测试RequestMapping注解的位置</a> <br>
    <a th:href="@{/testRequestMapping}">测试RequestMapping注解的位置-->/testRequestMapping</a> <br>
    <a th:href="@{/test}">测试RequestMapping注解的位置-->test</a> <br>
    <a th:href="@{/test}">测试RequestMapping注解的位置-->get</a> <br>

   <form th:action="@{/test}" method="post">
       <input type="submit" value="测试RequestMapping注解的method属性-->">
   </form>
    <a th:href="@{/testPath/1}">测试testPath</a> <br>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ')}">测试RequestMapping注解的params属性</a>

</body>
</html>